
/**    
 * <p>Copyright： 东软烟草产品研发团队</p>   
 */
 
package com.jkl.service.project;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jkl.dao.project.PJProjectLogMapper;
import com.jkl.entity.project.po.PJProjectLog;
import com.jkl.service.project.inter.IPJProjectLogService;

import lombok.extern.slf4j.Slf4j;
import tk.mybatis.mapper.entity.Example;

/**
 * <p>123service<p>
 * <p>123service<p>
 * <p> 变更说明：ji.k 2018年1月17日 123service<p>
 * Date:2018年10月01日
 * @author ji.k
 * @version 1.0
 */
@Service
@Slf4j
public class PJProjectLogService  implements IPJProjectLogService {

    @Autowired
    private PJProjectLogMapper pIProjectLogMapper;

	@Override
	public void addProjectLig(PJProjectLog projectLog) {
		pIProjectLogMapper.insert(projectLog);
	}

	@Override
	public List<PJProjectLog> findByProjectId(Integer projectId) {
		return pIProjectLogMapper.findByProjectId(projectId);
	}

}